﻿CREATE TABLE [dbo].[codeOrderType] (
    [OrderTypeCode] CHAR (1)     NOT NULL,
    [Description]   VARCHAR (50) NULL
);
GO
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Defines the different types of orders: Web, Autoship, Customer Service, etc.', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'codeOrderType';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'The OrderType code', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'codeOrderType',
	@level2type = N'COLUMN', @level2name = N'OrderTypeCode';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Definition for the OrderType code.', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'codeOrderType',
	@level2type = N'COLUMN', @level2name = N'Description';

